Skip to content

Fix end action press propagation in context menu - #554

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/cosmic-tern-9bf39cce
Aug 10, 2026
Merged

Fix end action press propagation in context menu#554
SDSLeon merged 1 commit into
masterfrom
poracode/cosmic-tern-9bf39cce

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 10, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: The end action button in context-menu rows (e.g. Stop Run, the ml-auto trailing button) now continues the press event to the underlying row, so clicking it reliably fires the action.
  • Previously the press was captured by the context-menu handling, leaving the end action unresponsive.
  • Added test coverage in ContextMenu.test.tsx that simulates the full pointer down/up/click sequence, with a PointerEvent shim for the test environment.

- Continue propagation from the end action button's press start so
  the parent row's press handlers fire as expected
- Add a PointerEvent polyfill and pointer down/up simulation to the
  context menu tests to cover the pointer interaction path
@SDSLeon
SDSLeon merged commit cf333ab into master Aug 10, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/cosmic-tern-9bf39cce branch August 10, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant